package com.lsfyw;

import com.lsfyw.util.HttpUtil;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

public class MainActivity extends Activity {
    /** Called when the activity is first created. */
	  String url="http://192.168.7.51/lsfyw/test.php";
	  String tag=MainActivity.class.getName();
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
      
        new Thread(){
        	
        	public void run(){
        	   String ret=	HttpUtil.httpRequestInfo(url);
        	   Log.d(tag, "----->"+ret);
        	}
        }.start();
    }
}